<template>
  <div id="app">
    <!-- <van-button type="default">默认按钮</van-button>
    <van-button type="primary">主要按钮</van-button>
    <van-button type="info">信息按钮</van-button>
    <van-button type="warning" @click="hClick1">警告按钮 接口1</van-button>
    <van-button type="danger" @click="hClick2">危险按钮 接口2</van-button> -->
    <router-view></router-view>
  </div>
</template>
<script>
import { instance1, instance2 } from '../utils/request'
export default {
  name: 'App',
  methods: {
    hClick1 () {
      instance1.get('/app/v1_0/user/channels')
    },
    hClick2 () {
      instance2.get('/app/v1_0/user/channels')
    }
  }
}
</script>
<style lang="less">
html {
  font-size: 37.5px;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
